package com.tianya.scheduled.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * WebConfig配置
 *
 * ClassName: WebConfig <br/>
 * Description: <br/>
 * date: 2021/5/23 12:57<br/>
 *
 * @author tianya<br />
 */
@Configuration
public class WebConfig {

    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
